package com.yinhechuangji.sleuth.application.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 类名:BmAreaDeptFegin <br/>
 * 〈功能简述〉. <br/>
 * 〈功能详细描述〉.<br/>
 * 创建时间:     2018/8/1 15:54 <br/>
 * (这里描述这个方法的注意事项 – 可选).<br/>
 *
 * @author WangXiao   Email:alyce_wx@foxmail.com.
 * @see
 * @since JDK 1.8
 */
@FeignClient(name = "CLOUD-SLEUTH2")
public interface TestFegin {

    @RequestMapping(value = "/test1", method = RequestMethod.GET
            , consumes = "application/json",produces = {MediaType.APPLICATION_JSON_UTF8_VALUE})
    String test();

}
